//
//  NetworkHandeler.h
//  UI19_网络封装(delegate回调)
//
//  Created by dllo on 16/1/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol NetworkHandelerDelegate <NSObject>

- (void)handelerDidComplete:(id)result;

@end


@interface NetworkHandeler : NSObject

@property (nonatomic, assign)id<NetworkHandelerDelegate> delegate;

// 接口一方法声明
- (void)networkHandelerJSONWithURL:(NSString *)urlStr;



// 接口二方法声明
+ (void)handelerJSONWithURL:(NSString *)urlStr delegate:(id<NetworkHandelerDelegate>)delegate;


@end
